﻿/*************************************************************************
 * Copyright 2013, OhZeeCreative, LLC
 * This code is protected by copyright. Unauthorized use is prohibited.
 *************************************************************************/

namespace OhZeeCreative.Windows8
{
	using System;
	using OhZeeCreative.Windows8.Attributes;

	[AttributeUsage(AttributeTargets.Class)]
    public class DemoableClassAttribute : DemoableAttribute
	{
		public DemoableClassAttribute(string description)
			: base(description)
		{
			this.HorizontalAlignment = Attributes.HorizontalAlignment.Stretch;
			this.VerticalAlignment = Attributes.VerticalAlignment.Stretch;
		}

		public HorizontalAlignment HorizontalAlignment { get; set; }
		public VerticalAlignment VerticalAlignment { get; set; }

		public double? Width { get; set; }
		public double? Height { get; set; }

		public string DemoContent { get; set; } // A valid XAML snippet
	}
}
